{% extends "vegetable/base.html" %}
 
{% block content %}
    <h1>Be a proud member of our super site</h1>
 
    <form action="" method="post">
	{% csrf_token %}
	<div>
		{{ form.username.errors }}
		<label for="id_username">Username: </label>
		{{ form.username }}
	</div>
	<div>
		{{ form.email.errors }}
		<label for="id_email">E-Mail: </label>
		{{ form.email }}
	</div>
	<div>
		{{ form.password1.errors }}
		<label for="id_password">Password: </label>
		{{ form.password1 }}
	</div>
	<div>
		{{ form.password2.errors }}
		<label for="id_password2">Repeat password: </label>
		{{ form.password2 }}
	</div>
	

        <input type="submit" value="Register" />
    </form>

{% endblock %}
